package com.taihe.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by zwt on 2018/7/23.
 */
@Controller
@RequestMapping("page")
public class PageController {

    @RequestMapping("test")
    public String freemarker(Map<String, Object> map){
        return "test";
    }

    @RequestMapping("test1")
    public String freemarker1(Map<String, Object> map){
        return "test1";
    }
}
